public class FreezeWeaponEffect : WeaponEffect
{
	public override void Start()
	{
		base.Start();
		DisableControls(GameTopWindow.instance.freezePanel);
	}

	public override void End()
	{
		base.End();
		if (!effectWatcher.freezeImmun)
		{
			effectWatcher.freezeImmun = true;
			effectWatcher.unsetFreezeImmunDelayd();
		}
		EnableControls(GameTopWindow.instance.freezePanel);
	}

	public override void OnDestroy()
	{
		base.OnDestroy();
		EnableControls(GameTopWindow.instance.freezePanel);
	}
}
